package com.tianyi.dao.entity.brand;

import java.io.Serializable;
import java.util.Date;

public class Brand implements Serializable {
    /**
     * id
     * 表字段 ：id
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private Long id;

    /**
     * 创建时间
     * 表字段 ：gmt_create
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private Date gmtCreate;

    /**
     * 修改时间
     * 表字段 ：gmt_modified
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private Date gmtModified;

    /**
     * 品牌名称
     * 表字段 ：brand_name
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private String brandName;

    /**
     * 品牌code
     * 表字段 ：brand_code
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private String brandCode;

    /**
     * 品牌说明
     * 表字段 ：brand_content
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private String brandContent;

    /**
     * 操作人
     * 表字段 ：operator
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private Long operator;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withId(Long id) {
        this.setId(id);
        return this;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withGmtCreate(Date gmtCreate) {
        this.setGmtCreate(gmtCreate);
        return this;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withGmtModified(Date gmtModified) {
        this.setGmtModified(gmtModified);
        return this;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getBrandName() {
        return brandName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withBrandName(String brandName) {
        this.setBrandName(brandName);
        return this;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName == null ? null : brandName.trim();
    }

    public String getBrandCode() {
        return brandCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withBrandCode(String brandCode) {
        this.setBrandCode(brandCode);
        return this;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode == null ? null : brandCode.trim();
    }

    public String getBrandContent() {
        return brandContent;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withBrandContent(String brandContent) {
        this.setBrandContent(brandContent);
        return this;
    }

    public void setBrandContent(String brandContent) {
        this.brandContent = brandContent == null ? null : brandContent.trim();
    }

    public Long getOperator() {
        return operator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    public Brand withOperator(Long operator) {
        this.setOperator(operator);
        return this;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand
     *
     * @mbg.generated Thu Jun 04 21:29:53 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", brandName=").append(brandName);
        sb.append(", brandCode=").append(brandCode);
        sb.append(", brandContent=").append(brandContent);
        sb.append(", operator=").append(operator);
        sb.append("]");
        return sb.toString();
    }
}